package JavaCore;

import java.util.Arrays;

public class Test5 {
	public Test5(){
		int[] score = {15,265,64,98,648,9957};
		int[] rank = new int[score.length];
		
		for(int i=0; i<score.length; i++){
			rank[i] = 1;
			for(int j=0; j<score.length; j++){
				if(score[i]> score[j]) rank[i]++;
			}
		}
		System.out.println(Arrays.toString(score));
		System.out.println(Arrays.toString(rank));
	}
	public static void main(String[] args){
		Test5 n = new Test5();
		
	}
}
